const { default: classNames } = require('classnames')
const _ = require('../utils')

_.create('text', {
  properties: {
    type: {
      type: String,
      value: 'primary',
    },
  },

  computed: {
    classes(data) {
      const { classPrefix, type } = data
      const classes = classNames(classPrefix, `${classPrefix}-${type}`)
      return classes
    },
  },
})
